package com.blue.po.ai;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * AI聊天记录表
 *
 * @author cnj
 * @email 15696471158@163.com
 * @date 2024-09-02
 */
@Data
@TableName("ai_chat_record")
public class ChatRecordPO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId
    @Schema(description = "用户id")
    private String userId;

    @Schema(description = "内容类型(0-文本,1-图片)")
    private String contentType;

    @Schema(description = "聊天内容")
    private String content;

    @Schema(description = "图片编码")
    private String imgCode;

    @Schema(description = "内容发送时间")
    private String contentTime;

}
